#ifndef _ZONE_H
#define _ZONE_H

// common headers
#include "common.h"

// local headers

#define fZ_CLICKABLE	(BIT(0))
#define fZ_FIXEDWIDTH	(BIT(1))
#define fZ_FIXEDHEIGHT	(BIT(2))
#define fZ_FIXEDSIZE	(fZ_FIXEDWIDTH | fZ_FIXEDHEIGHT)
#define fZ_SCROLLABLE	(BIT(3))

typedef struct sZone sZone;
struct sZone {
	u32 flags;

	u16 width;
	u16 height;

	char *text;
	sPicture *pic;
};

sZone *	z_copy			(sZone *zone);
int		z_makeButton	(sZone *zone, char *text, sPicture *pic);
int		z_render		(sZone *zone, s16 awidth, s16 aheight);

#endif
